package cn.wxq.daily.empdailymgforserve.mapper;

import cn.wxq.daily.empdailymgforserve.domain.WorkReport;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface WorkReportDao {

    /**
     * 条件查询
     * @param workReport
     * @return
     */
    public List<WorkReport> findBpageReport(WorkReport workReport);

    /**
     * 新增
     * @param workReport
     * @return
     */
    public int insertReport(WorkReport workReport);

    /**
     * 修改
     * @param workReport
     * @return
     */
    public int updateReport(WorkReport workReport);

    /**
     * 删除
     * @param workId
     * @return
     */
    public int deleteReportById(Integer workId);
}
